package com.huike.pmps.service;

import com.huike.pmps.model.dto.common.PageInfo;
import com.huike.pmps.model.entity.Member;
import com.huike.pmps.model.vo.Result;

/**
 * 作者：谌贵斌(黑桃K)
 * 日期: 2888-08-08
 * 老师QQ: 272488352
 * 官方QQ交流群: 377748272
 * 刀客程序员官网：http://www.daoke360.com
 * 刀客程序员淘宝旗舰店：https://daoke360.taobao.com/
 */
public interface MemberService {
    Result insertOne(Member member);

    Result updateById(Member member);

    Result selectOneByMemberId(int memberId);

    Result selectByCondition(PageInfo pageInfo, String memberName, String name, Short sex, Short state);

    Result updateMemberStateByMemberId(Integer memberId, Short state);

    Result updateMemberPasswordByMemberId(Integer memberId, String newPassword);

    Result deleteByMemberId(Integer memberId);

    Result insertMemberAndRoleRelation(Integer memberId, String roleIds);

    Result selectCourseCharge( Member member);

}
